﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="menu_top.aspx.cs" Inherits="AnyOffice.general.vehicle.maintenance.menu_top" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>车辆维护管理</title>
		
		<script>
var menu_id=0;

function setPointer(theRow, thePointerColor,menu_id_over)
{
  if(menu_id!=menu_id_over)
  {
	if(thePointerColor == "#B3D1FF")
		theRow.className="menu_active";
	else
		theRow.className="menu_comon";
   }
}

function view_menu1()
{
  if(menu_id!=0)
     parent.menu_main.location="query.aspx";
   menu_id=1;
   menu_1.className="menu_active";
   menu_2.className="menu_comon";
}

function view_menu2()
{
   parent.menu_main.location="new.aspx";
   menu_id=2;
   menu_1.className="menu_comon";
   menu_2.className="menu_active";
}

		</script>
	</HEAD>
	<body topmargin="0" leftmargin="0" onload="view_menu1()">
		<TABLE class="big" cellspacing="0" height="100%" width="100%" bgcolor="#dddddd" border="1"
			cellpadding="1" bordercolorlight="#000000" bordercolordark="#ffffff">
			<TR>
				<TD width="150" title="维护记录管理" id="menu_1" onclick="view_menu1()" onmouseover="setPointer(this, '#B3D1FF',1)"
					onmouseout="setPointer(this, '#DDDDDD',1)" style="cursor: pointer; cursor: hand;">
					<img src="/images/menu/vehicle.gif" align="absMiddle"><b><font color="#000000"> 维护记录管理</font></b>
				</TD>
				<TD width="150" title="添加维护记录" id="menu_2" onclick="view_menu2()" onmouseover="setPointer(this, '#B3D1FF',2)"
					onmouseout="setPointer(this, '#DDDDDD',2)"  style="cursor: pointer; cursor: hand;">
					<img src="/images/notify_new.gif" align="absMiddle"><b><font color="#000000"> 添加维护记录</font></b>
				</TD>
				<TD>
				</TD>
			</TR>
		</TABLE>
	</body>
</HTML>
